package com.ems.mapper;

import com.ems.entity.TMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ems.entity.vo.MyParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ZZH
 * @since 2022-06-27
 */
@Mapper
public interface TMaterialMapper extends BaseMapper<TMaterial> {

    int scrapMaterial(@Param("id") Integer id);

    int updateParam(@Param("myParam") MyParam param);

    List<TMaterial> getDetail();
}
